package org.csu.laboratoryequipment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@TableName("searchrecord")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Searchrecord implements Serializable {
    /**
     * 搜索量记录主键id值
     */
    @TableId(value = "id")
    private int id;

    /**
     * 种子关键词
     */
    @TableField(value = "key_word")
    private String keyWord;

    /**
     * 最近一次搜索时间
     */
    @TableField(value = "search_time")
    private Date searchTime;

    /**
     * 搜索次数
     */
    @TableField(value = "search_num")
    private int searchNum;



}
